Control
Description
A static class with utilities designed for retrieving input from controllers.
Control |
- - controllers : static int
- - states : static Dictionary
- ControllerCount : static int (Property with public getter and no setter)
|
- + GetAxis(axis : Axis) : static float
- + GetAxis(axis : Axis, player : PlayerNum) : static float
- + GetButton(cb : ControllerButton, player : PlayerNum) : static bool
- + GetButtonDown(cb : ControllerButton) : static bool
- + GetButtonDown(cb : ControllerButton, player : PlayerNum) : static bool
- + GetControllers() : static void
- + RightTriggerDown(player : PlayerNum) : static bool
- + TriggerDown(trigger : Trigger, player : PlayerNum) : static bool
- + TriggerPressed(trigger : Trigger, player : PlayerNum) : static bool
- - UpdateState(p : PlayerNum) : static void
- + UpdateStates() : static void
|